package com.zenghus.user.service.impl;

import com.zenghus.user.dal.entity.User;
import com.zenghus.user.dal.persistence.UserMapper;
import com.zenghus.user.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("userServiceImpl")
public class UserServiceImpl implements IUserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public void addUser(User user) {
        userMapper.addUser(user);
    }
}
